// 实体类 FlightStock.java
package com.airline.entity;

public class FlightStock {
    private String flightNo;
    private int totalSeats;
    private int availableSeats;

    // Getter 和 Setter 方法
    public String getFlightNo() { return flightNo; }
    public void setFlightNo(String flightNo) { this.flightNo = flightNo; }
    public int getTotalSeats() { return totalSeats; }
    public void setTotalSeats(int totalSeats) { this.totalSeats = totalSeats; }
    public int getAvailableSeats() { return availableSeats; }
    public void setAvailableSeats(int availableSeats) { this.availableSeats = availableSeats; }
}